package com.example.chapter12.design.factory.demo2;

import com.example.chapter12.design.factory.demo1.Fruit;

import java.util.ArrayList;
import java.util.List;

public class AppleFactory {
    public Fruit create() {
        String a = "";
        String b = "";
        List<String> list = new ArrayList<>();
        return new Apple1(a, b, list);
    }
}
